package com.zck.thumbup.util;

import com.zck.thumbup.constant.ThumbConstant;

/**
 * @author 赵承康
 * @date 2025/10/23
 */
public class RedisKeyUtil {

    public static String getUserThumbKey(Long userId){
        return ThumbConstant.USER_THUMB_KEY_PREFIX+userId;
    }

    /*
    * 获取临时点赞记录key
    * */
    public static String getTempThumbKey(String time){
        return ThumbConstant.TEMP_THUMB_KEY_PREFIX.formatted(time);
    }
}
